package com.atguigu;


import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map.Entry;
import java.util.Set;

public class Test {
    public static void main(String[] args) throws Exception {
        HashMap<String, List<String>> map = new HashMap<>();
        map.put("浙江省",Arrays.asList("绍兴市","温州市","湖州市","嘉兴市","台州市","金华市","舟山市","衢州市","丽水市"));
        map.put("海南省",Arrays.asList("海口市","三亚市"));
        map.put("北京市", Arrays.asList("北京市"));
        Set<Entry<String,List<String>>> entrySet = map.entrySet();
        for(Entry<String,List<String>> object : entrySet){
            System.out.println(object);
        }
    }
}